package com.cqut.hfh.ordering.pojo;

import com.cqut.li.mybatisutil.entity.base.Entity;
import java.util.Date;

public class FoodCart extends Entity {
    private String cart_id;

    private String user_id;

    private String food_id;

    private Integer cart_num;

    private Double cart_price;

    private Integer isva;

    private Date optime;

    private String oper;

    private Integer sort;

    private static final long serialVersionUID = 1L;

    public String getCart_id() {
        return cart_id;
    }

    public void setCart_id(String cart_id) {
        this.cart_id = cart_id == null ? null : cart_id.trim();
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id == null ? null : user_id.trim();
    }

    public String getFood_id() {
        return food_id;
    }

    public void setFood_id(String food_id) {
        this.food_id = food_id == null ? null : food_id.trim();
    }

    public Integer getCart_num() {
        return cart_num;
    }

    public void setCart_num(Integer cart_num) {
        this.cart_num = cart_num;
    }

    public Double getCart_price() {
        return cart_price;
    }

    public void setCart_price(Double cart_price) {
        this.cart_price = cart_price;
    }

    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper == null ? null : oper.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String getTableName() {
        return "fod_cart";
    }

    @Override
    public String getPrimaryKey() {
        return "cart_id";
    }
}